package com.kk.xhr.admin.controller.vo;

import com.kk.xhr.common.pojo.BinaryEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 合同vo
 *
 * @author luokexiong
 * @version 1.0 2021/2/18
 * @since 1.0.0
 */
@ApiModel
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ContractVO {
    @ApiModelProperty(value = "id", example = "1")
    private Long id;
    @ApiModelProperty(value = "名字", example = "小李子")
    private String name;
    @ApiModelProperty(value = "合同期限", example = "12", notes = "单位是月")
    private Double term;
    @ApiModelProperty(value = "转正日期", example = "2021-1-15 12:12:12")
    private LocalDateTime conversation;
    @ApiModelProperty(value = "开始时间", example = "2021-1-15 12:12:12")
    private LocalDateTime begin;
    @ApiModelProperty(value = "结束时间", example = "2025-1-15 12:12:12")
    private LocalDateTime end;
    @ApiModelProperty(value = "文件路径", example = "url://xxx")
    private String fileUrl;
    @ApiModelProperty(value = "状态", example = "TRUE")
    private BinaryEnum status;
}
